package com.wakyde.dao;

import com.wakyde.pojo.Blog;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface BlogMapper {

    int addBlog(Blog blog);

    List<Blog> queryBlogIf(Map<String, String> map);

    List<Blog> queryBlogChoose(Map<String, String> map);

    int updateBlog(Map<String, String> map);

    List<Blog> queryBlogForeach(HashMap<?, ?> map);
}
